// src/router/index.js
// src/router/index.js
import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'


const routes = [
  // {
  //   path: '/:part*',
  //   name: 'Part',
  //   component: () => import(/* webpackChunkName: "fileserver" */ '../views/FileServer.vue')
  // }
   {
    path: '/hello1',
    name: 'Hello1',
    component: () => import('../views/Hello1.vue')
  },
  {
    path: '/hello2',
    name: 'Hello2',
    component: () => import('../views/Hello2.vue')
  }
];

const router = createRouter({
  history: createWebHashHistory('/fileserver'),
  routes
});

export default router;
